package com.jeremyfeinstein.gson.bean;

/**
 * @author : lishan
 * @e-mail : cnlishan@163.com
 * @date : 2021/2/24 11:38 AM
 * @desc :
 */
public class LoginBean {

    /**
     * data : {"baseOrgUnitId":"f0bf8f1dc03e11e6b59554ee7536cc52","ctime":"2020-04-21 05:30:42","etime":"2021-09-24 04:40:11","ext":"{\n  \"converted\" : 0\n}","extMap":{"converted":0},"fullName":"piadmin","id":"0914a7add15611e688cc54ee7536cc52","ltime":"2021-02-24 11:23:52","mtime":"2020-12-29 09:14:06","name":"piadmin","netType":2,"oldThreePassword":"806F9832E827E2658FA296B43C9E39E466A0136FA2A47AB58002971E;6A4C38A117433D26D59D5C7C6E40BDBAFC5E83F818E5C1A877616F66","online":false,"pmtime":"2021-01-21 04:43:52","pwd":"","refreshToken":"eyJ0dGwiOjE4MDAsImFsZyI6IkhTMjU2In0.eyJqdGkiOiIwOTE0YTdhZGQxNTYxMWU2ODhjYzU0ZWU3NTM2Y2M1MiIsImlhdCI6MTYxNDEzNzYyNiwic3ViIjoicGlhZG1pbiIsImF1ZCI6InBpYWRtaW4iLCJleHAiOjE2MTQyMjQwMjZ9.2y5LF0WxTn7tw_gC9lgCrF_GRNIuYsxZ2gtFgGQ06eg","sex":0,"source":1,"status":1,"stime":"2020-09-24 04:40:11","token":"eyJhbGciOiJIUzI1NiJ9.eyJqdGkiOiIwOTE0YTdhZGQxNTYxMWU2ODhjYzU0ZWU3NTM2Y2M1MiIsImlhdCI6MTYxNDEzNzYyNiwic3ViIjoicGlhZG1pbiIsImV4cCI6MTYxNDEzOTQyNn0.9WBYBN8-m_jVU5oQ4I-nAbCDTt4VRdSNHcjJ03Zy14w","type":0}
     * message : 调用成功
     * statusCode : 200
     * successful : true
     */

    private DataBean data;
    private String message;
    private String statusCode;
    private boolean successful;

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public String getStatusCode() {
        return statusCode;
    }

    public void setStatusCode(String statusCode) {
        this.statusCode = statusCode;
    }

    public boolean isSuccessful() {
        return successful;
    }

    public void setSuccessful(boolean successful) {
        this.successful = successful;
    }

    public static class DataBean {
        /**
         * baseOrgUnitId : f0bf8f1dc03e11e6b59554ee7536cc52
         * ctime : 2020-04-21 05:30:42
         * etime : 2021-09-24 04:40:11
         * ext : {
         "converted" : 0
         }
         * extMap : {"converted":0}
         * fullName : piadmin
         * id : 0914a7add15611e688cc54ee7536cc52
         * ltime : 2021-02-24 11:23:52
         * mtime : 2020-12-29 09:14:06
         * name : piadmin
         * netType : 2
         * oldThreePassword : 806F9832E827E2658FA296B43C9E39E466A0136FA2A47AB58002971E;6A4C38A117433D26D59D5C7C6E40BDBAFC5E83F818E5C1A877616F66
         * online : false
         * pmtime : 2021-01-21 04:43:52
         * pwd :
         * refreshToken : eyJ0dGwiOjE4MDAsImFsZyI6IkhTMjU2In0.eyJqdGkiOiIwOTE0YTdhZGQxNTYxMWU2ODhjYzU0ZWU3NTM2Y2M1MiIsImlhdCI6MTYxNDEzNzYyNiwic3ViIjoicGlhZG1pbiIsImF1ZCI6InBpYWRtaW4iLCJleHAiOjE2MTQyMjQwMjZ9.2y5LF0WxTn7tw_gC9lgCrF_GRNIuYsxZ2gtFgGQ06eg
         * sex : 0
         * source : 1
         * status : 1
         * stime : 2020-09-24 04:40:11
         * token : eyJhbGciOiJIUzI1NiJ9.eyJqdGkiOiIwOTE0YTdhZGQxNTYxMWU2ODhjYzU0ZWU3NTM2Y2M1MiIsImlhdCI6MTYxNDEzNzYyNiwic3ViIjoicGlhZG1pbiIsImV4cCI6MTYxNDEzOTQyNn0.9WBYBN8-m_jVU5oQ4I-nAbCDTt4VRdSNHcjJ03Zy14w
         * type : 0
         */

        private String baseOrgUnitId;
        private String ctime;
        private String etime;
        private String ext;
        private ExtMapBean extMap;
        private String fullName;
        private String id;
        private String ltime;
        private String mtime;
        private String name;
        private int netType;
        private String oldThreePassword;
        private boolean online;
        private String pmtime;
        private String pwd;
        private String refreshToken;
        private int sex;
        private int source;
        private int status;
        private String stime;
        private String token;
        private int type;

        public String getBaseOrgUnitId() {
            return baseOrgUnitId;
        }

        public void setBaseOrgUnitId(String baseOrgUnitId) {
            this.baseOrgUnitId = baseOrgUnitId;
        }

        public String getCtime() {
            return ctime;
        }

        public void setCtime(String ctime) {
            this.ctime = ctime;
        }

        public String getEtime() {
            return etime;
        }

        public void setEtime(String etime) {
            this.etime = etime;
        }

        public String getExt() {
            return ext;
        }

        public void setExt(String ext) {
            this.ext = ext;
        }

        public ExtMapBean getExtMap() {
            return extMap;
        }

        public void setExtMap(ExtMapBean extMap) {
            this.extMap = extMap;
        }

        public String getFullName() {
            return fullName;
        }

        public void setFullName(String fullName) {
            this.fullName = fullName;
        }

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getLtime() {
            return ltime;
        }

        public void setLtime(String ltime) {
            this.ltime = ltime;
        }

        public String getMtime() {
            return mtime;
        }

        public void setMtime(String mtime) {
            this.mtime = mtime;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public int getNetType() {
            return netType;
        }

        public void setNetType(int netType) {
            this.netType = netType;
        }

        public String getOldThreePassword() {
            return oldThreePassword;
        }

        public void setOldThreePassword(String oldThreePassword) {
            this.oldThreePassword = oldThreePassword;
        }

        public boolean isOnline() {
            return online;
        }

        public void setOnline(boolean online) {
            this.online = online;
        }

        public String getPmtime() {
            return pmtime;
        }

        public void setPmtime(String pmtime) {
            this.pmtime = pmtime;
        }

        public String getPwd() {
            return pwd;
        }

        public void setPwd(String pwd) {
            this.pwd = pwd;
        }

        public String getRefreshToken() {
            return refreshToken;
        }

        public void setRefreshToken(String refreshToken) {
            this.refreshToken = refreshToken;
        }

        public int getSex() {
            return sex;
        }

        public void setSex(int sex) {
            this.sex = sex;
        }

        public int getSource() {
            return source;
        }

        public void setSource(int source) {
            this.source = source;
        }

        public int getStatus() {
            return status;
        }

        public void setStatus(int status) {
            this.status = status;
        }

        public String getStime() {
            return stime;
        }

        public void setStime(String stime) {
            this.stime = stime;
        }

        public String getToken() {
            return token;
        }

        public void setToken(String token) {
            this.token = token;
        }

        public int getType() {
            return type;
        }

        public void setType(int type) {
            this.type = type;
        }

        public static class ExtMapBean {
            /**
             * converted : 0
             */

            private int converted;

            public int getConverted() {
                return converted;
            }

            public void setConverted(int converted) {
                this.converted = converted;
            }

            @Override
            public String toString() {
                return "ExtMapBean{" +
                        "converted=" + converted +
                        '}';
            }
        }

        @Override
        public String toString() {
            return "DataBean{" +
                    "baseOrgUnitId='" + baseOrgUnitId + '\'' +
                    ", ctime='" + ctime + '\'' +
                    ", etime='" + etime + '\'' +
                    ", ext='" + ext + '\'' +
                    ", extMap=" + extMap +
                    ", fullName='" + fullName + '\'' +
                    ", id='" + id + '\'' +
                    ", ltime='" + ltime + '\'' +
                    ", mtime='" + mtime + '\'' +
                    ", name='" + name + '\'' +
                    ", netType=" + netType +
                    ", oldThreePassword='" + oldThreePassword + '\'' +
                    ", online=" + online +
                    ", pmtime='" + pmtime + '\'' +
                    ", pwd='" + pwd + '\'' +
                    ", refreshToken='" + refreshToken + '\'' +
                    ", sex=" + sex +
                    ", source=" + source +
                    ", status=" + status +
                    ", stime='" + stime + '\'' +
                    ", token='" + token + '\'' +
                    ", type=" + type +
                    '}';
        }
    }

    @Override
    public String toString() {
        return "LoginBean{" +
                "data=" + data +
                ", message='" + message + '\'' +
                ", statusCode='" + statusCode + '\'' +
                ", successful=" + successful +
                '}';
    }
}
